home *** CD-ROM | disk | FTP | other *** search
- Path: zetnet.co.uk!demon!redrobe.demon.co.uk
- From: Mike@Redrobe.demon.co.uk (Mike)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: .key
- Date: 04 Feb 96 21:27:51 +0000
- Message-ID: <1666.6608T1287T2551@Redrobe.demon.co.uk>
- References: <310d1327@cu-amiga.demon.co.uk>
- NNTP-Posting-Host: redrobe.demon.co.uk
- X-NNTP-Posting-Host: redrobe.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- Hi, Anthony Brice , on 29-Jan-96 12:34:15 you scribbled....
- >Hey look, on 23 Jan 96 Gary was heard mumbling to All:
-
- GED>> I have a game that is started by executing a script via iconx. What
- GED>> puzzles me is that the following command line is executed before the
- GED>> game is started:
-
- GED>> ..key dummy
-
- GED>> This puzzles me because there are no files on the disk named .key or
- GED>> dummy. Is anyone familiar with this command?
-
- ".key" just names the variable which will be substituted for whatever argument
- the user types.
-
- >I've seen similar scripts using commands like this. They're normally followed
- >up with .bra lines. I think they're an Amigados way of passing arguments to
- ".bra" alters the default "<" character which is used to denote an argument
-
- >the script based on what was called from Workbench, although don't quote me
- >on that as I've never understood them myself fully. Equivalent to the Arexx
- >Parse Arg perhaps?
-
- example:
-
- --
- .key Arg/A
-
- echo "This script was called with the argument <arg> "
-
- .bra { ;change opening "bracket" character from "<" to "{"
- .ket } ;change closing "bracket" character from ">" to "}"
-
- echo " This script was called with the argument {Arg} "
-
- --
-
- > /+ anthony@backyard.demon.co.uk - 2:254/255.0
- > /-|nthony Brice - BackYard BBS Sysop +44 (181) 4242065
-
- >... Jesus saves. He passes to Moses. Moses shoots. He scores!
-
- Oh dear this all sounds complicated now...
-
-
- Mike
-
- --
- ---------------------------------------------------------------------------
- Mike Redrobe - Mike@Redrobe.demon.co.uk MikeRR on #Amiga
- ---------------------------------------------------------------------------
-
-